package data.dto;

import java.sql.Timestamp;

public class UserDTO {
	private int id;
	private Short userType;
	private String userName;
	private String password;
	private String name;
	private String address;
	private String phone;
	private Short overTime;
	private int createdBy;
	private Timestamp createdOn;
	private int modifiedBy;
	private Timestamp modifiedOn;
	private Short status;
	private Short userrank;
	private int days;

	public UserDTO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public UserDTO(int id, Short userType, String userName,
			String password, String name, String address, String phone,
			Short overTime, int createdBy, Timestamp createdOn,
			int modifiedBy, Timestamp modifiedOn, Short status,Short userrank, int days) {
		super();
		this.id = id;
		this.userType = userType;
		this.userName = userName;
		this.password = password;
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.overTime = overTime;
		this.createdBy = createdBy;
		this.createdOn = createdOn;
		this.modifiedBy = modifiedBy;
		this.modifiedOn = modifiedOn;
		this.status = status;
		this.userrank = userrank;
		this.days = days;
	}

	public int getDays() {
		return days;
	}

	public void setDays(int days) {
		this.days = days;
	}

	public Short getUserrank() {
		return userrank;
	}

	public void setUserrank(Short userrank) {
		this.userrank = userrank;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Short getUserType() {
		return userType;
	}

	public void setUserType(Short userType) {
		this.userType = userType;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Short getOverTime() {
		return overTime;
	}

	public void setOverTime(Short overTime) {
		this.overTime = overTime;
	}

	public int getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(int createdBy) {
		this.createdBy = createdBy;
	}

	public Timestamp getCreatedOn() {
		return createdOn;
	}

	public void setCreatedOn(Timestamp createdOn) {
		this.createdOn = createdOn;
	}

	public int getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(int modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public Timestamp getModifiedOn() {
		return modifiedOn;
	}

	public void setModifiedOn(Timestamp modifiedOn) {
		this.modifiedOn = modifiedOn;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "UserDTO [id=" + id + ", userType=" + userType + ", userName="
				+ userName + ", password=" + password + ", name=" + name
				+ ", address=" + address + ", phone=" + phone + ", overTime="
				+ overTime + ", createdBy=" + createdBy + ", createdOn="
				+ createdOn + ", modifiedBy=" + modifiedBy + ", modifiedOn="
				+ modifiedOn + ", status=" + status + ", userrank=" + userrank
				+ ", days=" + days + "]";
	}

}
